//
//  AreaButtonCCell.swift
//  MikerShoppingApp
//
//  Created by eme on 2016/10/20.
//  Copyright © 2016年 eme. All rights reserved.
//

/*
 owner:cy
 update:2016年12月24日21:43:21
 info:  work按钮cell
 VC :  ButtonsCCell
 */
import UIKit
import Kingfisher
import RxSwift


class WorkButtonsCCell: UICollectionViewCell {

    @IBOutlet weak var btnLogo_ImgV: UIImageView!

    
    @IBOutlet weak var btnTitle_Lb: UILabel!

    var item:(title:String,image:String)?{
        didSet{
            if let item = self.item {
                self.btnTitle_Lb.text = item.title
                self.btnLogo_ImgV.image = UIImage(named: item.image)
            }
        
        }
    }

    override func awakeFromNib() {
        
        self.backgroundColor = UIColor.white
        
    }
}
